<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


Class Geolocations extends CI_Model
{
  function __construct()
  {
    parent::__construct();
  }
  
  function get_all(){
    $query= $this->db->get('geolocations');
    //var_dump($query);
    
    if ($query->num_rows()!=0)
    {
      return $query->result_array();  
    }
    else
    {
      return false;
    }
  }
}
